import React from 'react';

const TestSimple = () => {
  return (
    <div style={{
      padding: '20px',
      backgroundColor: '#fff',
      minHeight: '100vh',
      display: 'flex',
      flexDirection: 'column',
      alignItems: 'center',
      justifyContent: 'center'
    }}>
      <h1 style={{ color: '#1890ff', fontSize: '32px', marginBottom: '20px' }}>测试页面</h1>
      <p style={{ fontSize: '18px', color: '#666' }}>如果你能看到这个页面，说明React应用正在正常运行</p>
      <div style={{
        padding: '20px',
        backgroundColor: '#f0f9ff',
        borderRadius: '8px',
        marginTop: '20px',
        border: '1px solid #1890ff'
      }}>
        <p style={{ margin: 0, color: '#1890ff' }}>当前时间: {new Date().toLocaleString()}</p>
      </div>
    </div>
  );
};

export default TestSimple;